package com.gym.openapi.services;

import com.gym.openapi.common.ResponseResult;
import com.gym.openapi.common.ResultTable;
import com.gym.openapi.entity.Customer;

import java.util.List;

/**
 * @author ming
 * 2021/11/26
 * description:
 */
public interface CustomerServices {
/**
 *@author:ming
 *@Date: 2021/11/26
 *@description:分页显示
 */
    public ResultTable table(Integer page, Integer limit, String name, Integer state);

    ResponseResult del(Integer[] ids);

    ResponseResult update(Customer c);

    ResponseResult add(Customer c);

    List<Customer> getAll();
}
